package com.tinem.platform.module.starter.jpa.repository.data;

import com.tinem.platform.module.starter.jpa.entity.data.Areas;
import com.tinem.platform.module.starter.jpa.entity.data.Constellation;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @program: platform
 * @description: ${description}
 * @author: eden#can
 * @Slogan: 没有所谓失败，除非你不再尝试
 * @date: 2021-12-28 15:04
 **/
@Repository
public interface ConstellationRepository extends JpaRepository<Constellation, String> {


    List<Constellation> findByLangId(String lang);

    List<Constellation> findByLangIdAndConstellationId(String lang, String constellationId);
}
